package buildcode.database;

import java.util.ArrayList;
import java.util.List;

public class DataBaseTable{
    private String tableRemark = "";

    private String tableName;

    private String camelCaseName;

    private List<TableColumnInfo> columns = new ArrayList<TableColumnInfo>();

    private TableColumnInfo primaryColumn;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<TableColumnInfo> getColumns() {
        return columns;
    }

    public void setColumns(List<TableColumnInfo> columns) {
        this.columns = columns;
    }


    public String getCamelCaseName() {
        return camelCaseName;
    }

    public void setCamelCaseName(String camelCaseName) {
        this.camelCaseName = camelCaseName;
    }

    public String getTableRemark() {
        return tableRemark;
    }

    public void setTableRemark(String tableRemark) {
        this.tableRemark = tableRemark;
    }

    public TableColumnInfo getPrimaryColumn() {
        return primaryColumn;
    }

    public void setPrimaryColumn(TableColumnInfo primaryColumn) {
        this.primaryColumn = primaryColumn;
    }

    public DataBaseTable(String tableName, String entityName, String tableRemark) {
        super();
        this.tableName = tableName;
        this.camelCaseName = entityName;
        this.tableRemark = tableRemark;
    }

}
